import request from '@/utils/request'

// 查询我的简历列表
export function listMyCurriculumVitae(query) {
  return request({
    url: '/system/myCurriculumVitae/list',
    method: 'get',
    params: query
  })
}

// 查询我的简历详细
export function getMyCurriculumVitae(id) {
  return request({
    url: '/system/myCurriculumVitae/' + id,
    method: 'get'
  })
}

// 新增我的简历
export function addMyCurriculumVitae(data) {
  return request({
    url: '/system/myCurriculumVitae',
    method: 'post',
    data: data
  })
}

// 修改我的简历
export function updateMyCurriculumVitae(data) {
  return request({
    url: '/system/myCurriculumVitae',
    method: 'put',
    data: data
  })
}

// 删除我的简历
export function delMyCurriculumVitae(id) {
  return request({
    url: '/system/myCurriculumVitae/' + id,
    method: 'delete'
  })
}
